<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <form action="/students/edit" method="post">
        <!-- id -->
        <input type="hidden" value="{{student.id}}" name="id">
        <!-- name -->
        <div>
            <label for="1"></label>
            <input type="text" name="name" value="{{student.name}}" placeholder="please input your name " id="1">
        </div>

         <!-- sex -->
         <div>
            <label for="2">男</label>
            <input type="radio" name="gender" value="0" placeholder="please check your sex " id="2">
            <label for="3">女</label>
            <input type="radio" name="gender" value="1" id="3">
        </div>

         <!-- age -->
         <div>
            <label for="4"></label>
            <input type="number" name="age" value="{{student.age}}" placeholder="please input your age " id="4">
        </div>

         <!-- submit -->
         <div>
            <button type="submit">submit</button>
        </div>
    </form>
</body>
</html>